package com.dapeis.web.wx.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;

import com.google.gson.JsonElement;

public interface ICouponsController {

	/**
	 * 我的优惠券
	 * @return
	 */
	@RequestMapping(value = "/getMy")
	public @ResponseBody JsonElement getMyCoupons();

	/**
	 * 优惠吗兑换
	 * @param couponsCode
	 * @return
	 */
	@RequestMapping(value = "/exchange", method = RequestMethod.POST)
	public @ResponseBody JsonElement exchange(String couponsCode);
	
	
	
}
